str = "123"
class Fruit:
    '''类和对象'''
    color = "none"
    _size = -1
    __taste = "sweet"

    def __init__(self, color):
        print("Fruit的__init__")
        print("str = " + str)
        print("color = " + color)
        print("color = " + Fruit.color)
        print("color = " + self.color)
        self.color = color
        print("color = " + self.color)
        print("__taste = " + Fruit.__taste)

    def getTaste(self):
        return Fruit.__taste

    @property
    def getTaste2(self):
        return Fruit.__taste
